package org.jeecg.modules.nurse_goods_detail.entity;

import java.io.Serializable;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 商品详情
 * @Author: jeecg-boot
 * @Date: 2024-05-24
 * @Version: V1.0
 */
@Data
@TableName("nurse_goods_detail")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "nurse_goods_detail对象", description = "商品详情")
public class NurseGoodsDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.INPUT)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    /**
     * 更新时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**
     * 商品名
     */
    @Excel(name = "商品名", width = 15)
    @ApiModelProperty(value = "商品名")
    private java.lang.String goodsName;
    /**
     * 单价
     */
    @Excel(name = "单价", width = 15)
    @ApiModelProperty(value = "单价")
    private java.math.BigDecimal price;
    /**
     * 预付款
     */
    @Excel(name = "预付款", width = 15)
    @ApiModelProperty(value = "预付款")
    private java.math.BigDecimal preAmt;
    /**
     * 费用类型
     */

    @Excel(name = "费用类型", width = 15, dictTable = "nurse_cost_type", dicText = "name", dicCode = "code")
    @Dict(dictTable = "nurse_cost_type", dicText = "name", dicCode = "code")
    @ApiModelProperty(value = "费用类型")
    private java.lang.String costType;
    /**
     * 费用类型名称
     */
    @Excel(name = "费用类型名称", width = 15)
    @ApiModelProperty(value = "费用类型名称")
    private java.lang.String costTypeName;
    /**
     * 商品标题图片
     */
    @Excel(name = "商品标题图片", width = 15)
    @ApiModelProperty(value = "商品标题图片")
    private java.lang.String pic;
    /**
     * 商品描述图片
     */
    @Excel(name = "商品描述图片", width = 15)
    @ApiModelProperty(value = "商品描述图片")
    private java.lang.String descriptionPic;
    /**
     * 商品描述
     */
    @Excel(name = "商品描述", width = 15)
    @ApiModelProperty(value = "商品描述")
    private java.lang.String description;
    /**
     * 商品ID
     */
    @Excel(name = "商品ID", width = 15)
    @ApiModelProperty(value = "商品ID")
    private java.lang.String goodsId;
    /**
     * 开票代码
     */
    @Excel(name = "开票代码", width = 15)
    @ApiModelProperty(value = "开票代码")
    private java.lang.String billCode;
    /**
     * 开票名称
     */
    @Excel(name = "开票名称", width = 15)
    @ApiModelProperty(value = "开票名称")
    private java.lang.String billName;

    @Excel(name = "排序", width = 15)
    @TableField(exist = false)
    @ApiModelProperty(value = "排序")
    private java.lang.String sort;

    @Excel(name = "标题图片", width = 15)
    @TableField(exist = false)
    @ApiModelProperty(value = "标题图片")
    private java.lang.String tpic;

    @Excel(name = "服务时长", width = 15)
    @ApiModelProperty(value = "服务时长")
    private int  duration;

    @Excel(name = "规格id", width = 15)
    @ApiModelProperty(value = "规格id")
    private String  standardCode;

    @Excel(name = "是否推荐", width = 15)
    @ApiModelProperty(value = "是否推荐")
    private int  recommend;

    @Excel(name = "服务时长", width = 15)
    @ApiModelProperty(value = "服务时长")
    private int  serviceUnit;


}
